Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add character sets: Arabic, Greek, Hebrew, Japanese, Thai, Korean #614

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rforsyth
Copy link

This change adds support for the following character sets:

  • ISO-IR 13 (Japanese)
  • ISO-IR 87 (Japanese multi-byte)
  • ISO-IR 126 (Greek)
  • ISO_IR 127 (Arabic)
  • ISO_IR 138 (Hebrew)
  • ISO-IR 149 (Korean)
  • ISO-IR 166 (Thai)

This is related to issue: #40, and is a superset of the currently open PR #444.

The full set of DICOM supported character sets is listed in: Table D.6.2-1. Supported Specific Character Set Defined Terms. This change covers the character sets in this list which are also supported by rust-encoding.

It appears that rust-encoding does not include support for ISO-IR 148 (Latin 5) or ISO-IR 159 (Japanese supplementary characters), so these have not been included.

@Enet4 Enet4 added enhancement A-lib Area: library C-encoding Crate: dicom-encoding labels Dec 16, 2024
@Enet4 Enet4 self-requested a review December 16, 2024 09:09
@Enet4
Copy link
Owner

Enet4 commented Dec 22, 2024

Thank you for your pull request! Do you happen to know whether any of these encodings also have an implementation at encoding_rs? We fear that we may end up stuck with rust-encoding, which is no longer maintained (#200).

The full set of DICOM supported character sets is listed in: Table D.6.2-1. Supported Specific Character Set Defined Terms.

A curious reference. The normative part of the standard would be in PS3.5 section 6.1, though I agree that the latest revisions do not expose the available character sets as nicely as in that table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lib Area: library C-encoding Crate: dicom-encoding enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants